#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
Test1()
{
	Stack ps;
	StackInit(&ps);
	StackPush(&ps, 1);
	StackPush(&ps, 2);
	StackPush(&ps, 3);
	StackPush(&ps, 4);
	StackPush(&ps, 5);
	printf("%d\n", StackTop(&ps));

	StackPop(&ps);
	printf("%d\n", StackTop(&ps));
	StackPop(&ps);
	printf("%d\n", StackTop(&ps));

	StackPop(&ps);
	printf("%d\n", StackTop(&ps));

	StackPop(&ps);
	printf("%d\n", StackTop(&ps));

	StackPop(&ps);

	printf("%d\n", StackSize(&ps));
	StackDestroy(&ps);

}
void Test2()
{
	MyQueue* obj = myQueueCreate();
	myQueuePush(obj, 1);
	myQueuePush(obj, 2);
	int param_3 = myQueuePeek(obj);
	int param_2 = myQueuePop(obj);
	bool param_4 = myQueueEmpty(obj);
	myQueueFree(obj);
}
int main()
{
	//Test1();
	Test2();
	return 0;
}